package com.handpay.zztong.hp.config;

public class ZZTConstant
{
	public static final int		CARDBINPOS					= 5;
	public static final int		CARDNO_MIN_LEN				= 15;
	/**
	 * 每个刷卡器对应的最多银行卡的个数.
	 */
	public static final int		MAXCARDS					= 10;
	/*
	 * 指定上传图片的最大大小，以k为单位
	 */
	public static final int		MAXBYTE						= 200;
	/*
	 * 指定上传图片的最大大小，以k为单位 (签购单、签名)
	 */
	public static final int		SIGMAXBYTE						= 200;
	/*
	 * 获取CSN的最大尝试次数
	 */
	public static final int		GET_CSN_MAX_TIMES			= 5;
	/*
	 * 刷卡器操作的超时时间
	 */
	public static final int		SWIPER_TIMEOUT				= 30;
	public static final String	COMPOSE_ACTION				= "com.android.hpzztong.hpcomposebaseinfo";
	public static final String	RECOMPOSE_ACTION			= "com.android.hpzztong.rehpcomposebaseinfo";
	/**
	 * 用于发送手机认证码的action
	 */
	public static final String	AUTHCODE_ACTION_REG			= "register";								// 注册
	public static final String	AUTHCODE_ACTION_MODIPWD		= "modifyPwd";								// 修改密码
	public static final String	AUTHCODE_ACTION_RESETPWD	= "resetPwd";								// 重置密码
	public static final String	AUTHCODE_ACTION_OLDPHONE	= "oldPhone";								// 修改手机号
	public static final String	AUTHCODE_ACTION_NEWPHONE	= "newPhone";								// 修改手机号
    public static final String	AUTHCODE_ACTION_MODIFYCARD	= "changeBindCard";							// 修改卡号
	public static final int		MAX_PX_LENGTH				= 1024;
	public static final int		MAX_NAME_LENGTH				= 25;
	public static final int		MAX_SHOP_NAME_LENGTH		= 30;
	public static final int		PHONE_NUM_LENGTH			= 11;
	public static final int		MIN_TRANSFER_AMOUNT			= 10;
	public static final String	MONEY_ZERO					= "0.00";
	public static final int		MONEY_MAX_LEN				= 6;
	/**
	 * 响应
	 */
	public static final int		NO_RESPONSE_CLICK_TIME		= 1000;
	public static final int		WELCOME_TIME				= 1000;
    /**
     * 蓝牙设备默认的过滤条件
     */
    public static final String NEWLAND_NAME_FILTER = "ME30";
    public static final String ZZT_NAME_FILTER = "ZZT";
    public static final String DEFAULT_NAME_FILTER = NEWLAND_NAME_FILTER;
    public static final String ME15_NAME_FILTER = "ME15";
    public static final String M35_NAME_FILTER = "M35";
    public static final String M18_NAME_FILTER = "M18";

    public static final String M36_NAME_FILTER = "M36";
    public static final String ME31_NAME_FILTER = "ME31";
    //新增 ME368
    public static final String ME368_NAME_FILTER = "M368";
    //新增M188
    public static final String M188_NAME_FILTER = "M188";
    //新增M198
    public static final String M198_NAME_FILTER = "M198";
    public static final String M1218_NAME_FILTER = "M1218";
    //新增 I21B
    public static final String I21B_NAME_FILTER = "AC";
    //新增P27
    public static final String P27_NAME_FILTER = "P27";
	//新增P84
	public static final String P84_NAME_FILTER = "P84";
    //签名长度设置
    public static final int SIGNATURE_LENGTH = 850;
    
    /**
     * 新版账账通变量
     */
    //Btn的标识
  	public static final int BTN_FLAG_HOME = 0x01;
  	public static final int BTN_FLAG_RECEIVABLES = 0x01 << 1;
  	public static final int BTN_FLAG_NEWS = 0x01 << 2;
  	public static final int BTN_FLAG_MY = 0x01 << 3;
	public static final int BTN_FLAG_DIS=0x01<<4;

  	//Fragment的标识
  	public static final String FRAGMENT_FLAG_HOME = "首页"; 
  	public static final String FRAGMENT_FLAG_RECEIVABLES = "收款"; 
  	public static final String FRAGMENT_FLAG_SERVICE = "微服务"; 
  	public static final String FRAGMENT_FLAG_MY = "我的";
	public static final String FRAGMENT_FLAG_DISCOVERY="发现";

  	//连接刷卡器标识位
  	public static final int SWIPER_GOTO_VPOS = 0x01 << 4;
  	
 
  	
	public static final int SWIPER_GOTO_SWIPERCARD = 0x01 << 5;
	
	public static final int SWIPER_GOTO_OTHER = 0x01 << 6;
  	
	public static final int SWIPER_GOTO_SWIPER_SELECT = 0x01 << 7;
	
	public static final int SWIPER_GOTO_ZIZHITIJIAO = 0x01 << 8;
	//拍照Code 
	public static final int REQUEST_CAMERA_CODE = 0x1 << 11;
	//界面回掉Code
	public static final int CONNECT_SWIPER_CODE =  0x1 << 10;
	
 	public static final int SWIPER_GET_PAN=0x01 << 12;
	//WebPay界面回掉Code
	public static final int CONNECT_WEB_PAY_CODE =  0x1 << 11;
	/**扫描客户二维码*/
	public static final int WETCHAT_CUSTOMER=0x1;
	/**扫描商户二维码*/
	public static final int WETCHAT_MERCHANT=0x2;
}
